home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / OS2 / OS2DVOR.ARJ / OS2DVOR.TXT < prev    next >
Text File  |  1992-06-28  |  4KB  |  92 lines

  1. Finally, a *partial* fix for using a dvorak keyboard in OS/2 2.0.
  2.  
  3. Follow these steps:
  4.  
  5.    1) Make sure your CONFIG.SYS file contains the line
  6.  
  7.     DEVINFO=KBD,US,x:\OS2\KEYBOARD.DCP
  8.  
  9.       where 'x' is the letter of the drive where OS/2 is installed.
  10.  
  11.    2) Make a backup of your x:\OS2\KEYBOARD.DCP file.
  12.  
  13.    3) Copy the new KEYBOARD.DCP contained in this package to the 
  14.       x:\OS2 directory.
  15.  
  16.    4) Insert your installation disk into the A: drive, and reboot.  When
  17.       you get to the blue IBM screen, insert 'DISK 1', and press Enter.
  18.       Then, when you get to the next screen prompt, press ESC to get to
  19.       the command prompt.
  20.  
  21.    5) Make a backup of your x:\OS2\DLL\PMWIN.DLL
  22.  
  23.    6) Copy x:\OS2\DLL\PMWIN.DLL to a NEW SUBDIRECTORY on any drive.  You need
  24.       to do this because you will be making changes to it, and you need to
  25.       make sure that OS/2 doesn't decide to use your new PMWIN.DLL before
  26.       you start making changes.
  27.  
  28.    7) Remove your disk from the A: drive, and reboot.
  29.  
  30.    8) Use your hex editor to edit PMWIN.DLL in your new subdirectory.  
  31.       Go to offset 0775F0h.  The following is a hex dump of PMWIN.DLL 
  32.       after the changes.  
  33.  
  34.       Basically the idea is to look for things like "s" and translate 
  35.       them to their Dvorak equivalents.  So, "s" becomes "o", 
  36.       and "g" becomes "i", etc.
  37.  
  38. Offset:   Hex codes:                                           Characters:
  39.  0775F0   39 00 30 00  5B 00 5D 00  08 00 09 00  27 00 2C 00   9·0·[·]·· ·'·,·
  40.  077600   2E 00 70 00  79 00 66 00  67 00 63 00  72 00 6C 00   .·p·y·f·g·c·r·l·
  41.  077610   2F 00 3D 00  0D 00 00 00  61 00 6F 00  65 00 75 00   /·=· ···a·o·e·u·
  42.  077620   69 00 64 00  68 00 74 00  6E 00 73 00  2D 00 60 00   i·d·h·t·n·s·-·`·
  43.  077630   00 00 5C 00  3B 00 71 00  6A 00 6B 00  78 00 62 00   ··\·;·q·j·k·x·b·
  44.  077640   6D 00 77 00  76 00 7A 00  00 00 2A 00  00 00 20 00   m·w·v·z···*··· ·
  45.  077650   4A 4A 2D 00  4E 4E 2B 00  5A 5C 0D 00  00 00 2F 00   JJ-·NN+·Z\ ···/·
  46.  077660   02 00 01 39  00 00 21 00  40 00 23 00  24 00 25 00   ·9··!·@·#·$·%·
  47.  077670   5E 00 26 00  2A 00 28 00  29 00 7B 00  7D 00 08 00   ^·&·*·(·)·{·}··
  48.  077680   00 00 22 00  3C 00 3E 00  50 00 59 00  46 00 47 00   ··"·<·>·P·Y·F·G·
  49.  077690   43 00 52 00  4C 00 3F 00  2B 00 0D 00  00 00 41 00   C·R·L·?·+· ···A·
  50.  0776A0   4F 00 45 00  55 00 49 00  44 00 48 00  54 00 4E 00   O·E·U·I·D·H·T·N·
  51.  0776B0   53 00 5F 00  7E 00 00 00  7C 00 3A 00  51 00 4A 00   S·_·~···|·:·Q·J·
  52.  0776C0   4B 00 58 00  42 00 4D 00  57 00 56 00  5A 00 00 00   K·X·B·M·W·V·Z···
  53.  
  54.    9) Boot up again, as described in step 4.
  55.  
  56.    10) Copy the new PMWIN.DLL to x:\OS2
  57.  
  58.    11) Boot up normally.
  59.  
  60.    12) To modify the Win-OS/2 keyboard driver, use the Control Panel in the
  61.        Win-OS/2 to install a Dvorak Keyboard driver.  Unfortunately,
  62.        that driver isn't completely *Dvorak*, so look for places where you see
  63.        combinations like "[]" and "{}", and change them to "[{" and "]}".
  64.  
  65.    12) It's Done!
  66.  
  67.  
  68. The fix isn't *complete*, actually.  The remaining problems are that the
  69. keys, S, W, V, and Z don't work with the Ctrl- or Alt- keys.  When CapsLock 
  70. is active, these keys remain lower case.  Also, when CapsLock is active,
  71. these keys are translated to "uppercase":
  72.  
  73.     ' (quote) => "
  74.         , (comma) => <
  75.         . (period)=> >
  76.  
  77. This is ShareInfo!  Please support this poor, Dvorak-keyboard-using, starving
  78. student, by sending him a few bucks for this service.
  79.  
  80. I will give half the profit I make from this to the guy who figures out how
  81. to fix the aforementioned problems.
  82.  
  83. Thank you for your support.
  84.  
  85. Martin Stone Davis
  86. 3351 Alma #108
  87. Palo Alto, CA 94306
  88.  
  89. Internet address:
  90.  
  91. martin.davis@spacebbs.com
  92.